Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor _includes/social.html to loop through configured social sites #20

Merged
merged 8 commits into from
Feb 6, 2019

Conversation

vivekkrish
Copy link
Contributor

This PR refactors the _includes/social.html to use some advanced functionality in the Liquid templating system. The changes in this PR can be summarized as follows:

  • Loop through social sites (and usernames) defined in the _config.yml file
  • Get the URL pattern, icon CSS class from _config.yml (controlled via the social-links configuration)
  • Organize links according to the desired order (controlled via the social-links-order: [] configuration)
  • Remove _includes/too_social.html

@vivekkrish vivekkrish mentioned this pull request Feb 2, 2019
4 tasks
@epidrome epidrome merged commit 6a2d769 into epidrome:master Feb 6, 2019
@vivekkrish vivekkrish deleted the feature/refactor-social-html branch May 24, 2019 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants